package com.um.jdy.common.baofu.entity.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.um.springboot.starter.orm.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 宝付退款记录表
 * @TableName baofu_user
 */
@TableName(value ="baofu_refund")
@Data
public class BaofuRefund  extends BaseEntity {
    //主键id
    @TableId
    private String baofuRefundId;

    //原订单号
    private String outTradeNo;

    //退款编号
    private String outRefundNo;

    //退款金额
    private Integer refundAmount;

    //退款类型
    private String type;

    //租户ID
    private String comId;

    //创建时间
    private Date createTime;

    //退款状态 ：REFUND 退款中\r\nSUCCESS成功\r\nREFUND_ERROR 失败\r\nABNORMAL 异常
    private String refundState;

    //失败原因
    private String errMsg;

    //是否删除
    private Integer isDelete;

}
